package com.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.List;

@Alias("teacher1")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher1 {
    private int id;
    private String name;
    private List<Student1> students;
}
